package com.tensquare.notice.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tensquare.notice.pojo.Notice;

/**
 * @author BAO
 * @version V1.0
 * @Package tensquare.notice.service
 * @date 2020/12/4 22:00
 * @description:
 */
public interface NoticeService {
    Notice findById(String id);

    Page<Notice> findByCondition(Notice notice,Integer current,Integer size);

    int save(Notice notice);

    int updateById(Notice notice);

    void getNoticeInfo(Notice notice);
}
